package me.zhengjie.modules.website.domain;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/**
 * 分页响应实体
 *
 * @author system
 * @since 2024-09-26 16:06:29
 */
@Data
@ApiModel(value = "PageResult", description = "分页响应类")
public class PageResult<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据集合
     */
    @ApiModelProperty("数据集合")
    private List<T> content;

    /**
     * 总条数
     */
    @ApiModelProperty("总条数")
    private long totalElements;

}
